package com.niuwa.p2p.entity.redenvelope;

import java.math.BigDecimal;
import java.util.Date;

public class RedEnvelopeRule {
    private String ruleNo;

    private String ruleName;

    private String availCustomer;

    private String status;

    private Date createTime;

    private Date startDate;

    private String triggerType;

    private String triggerAction;

    private String frequecy;

    private String redEnvelopeName;

    private String amtType;

    private BigDecimal amount;

    private Integer amountPercent;

    private String validTermType;

    private Integer validTermDays;

    private String availActions;

    private Integer consumerPercent;

    private String availPlatform;

    private BigDecimal overAmount;
    
    private String delFlag;
    
    //页面传过来的天数类型
    private String dayType;

    public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getDayType() {
		return dayType;
	}

	public void setDayType(String dayType) {
		this.dayType = dayType;
	}

	public String getRuleNo() {
        return ruleNo;
    }

    public void setRuleNo(String ruleNo) {
        this.ruleNo = ruleNo == null ? null : ruleNo.trim();
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName == null ? null : ruleName.trim();
    }

    public String getAvailCustomer() {
        return availCustomer;
    }

    public void setAvailCustomer(String availCustomer) {
        this.availCustomer = availCustomer == null ? null : availCustomer.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getTriggerType() {
        return triggerType;
    }

    public void setTriggerType(String triggerType) {
        this.triggerType = triggerType == null ? null : triggerType.trim();
    }

    public String getTriggerAction() {
        return triggerAction;
    }

    public void setTriggerAction(String triggerAction) {
        this.triggerAction = triggerAction == null ? null : triggerAction.trim();
    }

    public String getFrequecy() {
        return frequecy;
    }

    public void setFrequecy(String frequecy) {
        this.frequecy = frequecy == null ? null : frequecy.trim();
    }

    public String getRedEnvelopeName() {
        return redEnvelopeName;
    }

    public void setRedEnvelopeName(String redEnvelopeName) {
        this.redEnvelopeName = redEnvelopeName == null ? null : redEnvelopeName.trim();
    }

    public String getAmtType() {
        return amtType;
    }

    public void setAmtType(String amtType) {
        this.amtType = amtType == null ? null : amtType.trim();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getAmountPercent() {
		return amountPercent;
	}

	public void setAmountPercent(Integer amountPercent) {
		this.amountPercent = amountPercent;
	}

	public String getValidTermType() {
        return validTermType;
    }

    public void setValidTermType(String validTermType) {
        this.validTermType = validTermType == null ? null : validTermType.trim();
    }

    public Integer getValidTermDays() {
        return validTermDays;
    }

    public void setValidTermDays(Integer validTermDays) {
        this.validTermDays = validTermDays;
    }

    public String getAvailActions() {
        return availActions;
    }

    public void setAvailActions(String availActions) {
        this.availActions = availActions == null ? null : availActions.trim();
    }

    public Integer getConsumerPercent() {
        return consumerPercent;
    }

    public void setConsumerPercent(Integer consumerPercent) {
        this.consumerPercent = consumerPercent;
    }

    public String getAvailPlatform() {
        return availPlatform;
    }

    public void setAvailPlatform(String availPlatform) {
        this.availPlatform = availPlatform == null ? null : availPlatform.trim();
    }

    public BigDecimal getOverAmount() {
        return overAmount;
    }

    public void setOverAmount(BigDecimal overAmount) {
        this.overAmount = overAmount;
    }
}